package exercise5;

public class Exercise11_03 {
    public static void main(String []args){
        Saving my_saving=new Saving();
        Checking my_checking=new Checking();
        System.out.println(my_checking.toString());
        System.out.println(my_saving.toString());
    }
}
class Checking extends Account{
    protected int touzhi=10000;
    @Override
    public String toString(){
        return "this is checking";
    }
}

class Saving extends Account{
    protected int touzhi=10000;
    @Override
    public String toString(){
        return "this is saving";
    }
}
